<%@ page language="java" pageEncoding="UTF-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>菜单</title>
<link href="/css/left.css" rel="stylesheet" type="text/css"/>
<link rel="StyleSheet" href="/css/dtree.css" type="text/css" />
</head>
<body>
<table width="100" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="12"></td>
  </tr>
</table>
<table width="100%" border="0">
  <tr>
      <td>
          <div class="dtree">
              <a href="javascript: d.openAll();">展开所有</a> | <a href="javascript: d.closeAll();">关闭所有</a>
              <script type="text/javascript" src="${pageContext.request.contextPath}/js/dtree.js"></script>
              <script type="text/javascript">
                  d = new dTree('d');
                  d.add('01',-1,'系统菜单树');
                  d.add('0102','01','菜系管理','','','mainFrame');
                  d.add('010201','0102','菜系管理','${pageContext.request.contextPath}/category/queryAllCategory','','mainFrame');
                  d.add('0104','01','菜品管理');
                  d.add('010401','0104','菜品管理','${pageContext.request.contextPath}/product/queryAllProduct','','mainFrame');
                  d.add('0105','01','订单管理');
                  d.add('010501','0105','订单管理','${pageContext.request.contextPath}/orders/orderList','','mainFrame');
                  document.write(d);
              </script>
          </div>
      </td>
  </tr>
</table>
</body>
</html>
